1
namespace CSWinFormSingleInstanceApp
6 /// Required designer variable.
8 private System
.ComponentModel
.IContainer components
= null;
11 /// Clean up any resources being used.
13 /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
14 protected override void Dispose(bool disposing
)
16 if (disposing
&& (components
!= null))
20 base.Dispose(disposing
);
23 #region Windows Form Designer generated code
26 /// Required method for Designer support - do not modify
27 /// the contents of this method with the code editor.
29 private void InitializeComponent()
31 this.labelWelcomeMsg
= new System
.Windows
.Forms
.Label();
32 this.buttonLogoff
= new System
.Windows
.Forms
.Button();
33 this.labelUserStatus
= new System
.Windows
.Forms
.Label();
38 this.labelWelcomeMsg
.AutoSize
= true;
39 this.labelWelcomeMsg
.Location
= new System
.Drawing
.Point(12, 9);
40 this.labelWelcomeMsg
.Name
= "labelWelcomeMsg";
41 this.labelWelcomeMsg
.Size
= new System
.Drawing
.Size(0, 13);
42 this.labelWelcomeMsg
.TabIndex
= 0;
46 this.buttonLogoff
.Location
= new System
.Drawing
.Point(197, 201);
47 this.buttonLogoff
.Name
= "buttonLogoff";
48 this.buttonLogoff
.Size
= new System
.Drawing
.Size(75, 23);
49 this.buttonLogoff
.TabIndex
= 1;
50 this.buttonLogoff
.Text
= "Logoff";
51 this.buttonLogoff
.UseVisualStyleBackColor
= true;
52 this.buttonLogoff
.Click
+= new System
.EventHandler(this.buttonLogoff_Click
);
56 this.labelUserStatus
.AutoSize
= true;
57 this.labelUserStatus
.Location
= new System
.Drawing
.Point(12, 33);
58 this.labelUserStatus
.Name
= "labelUserStatus";
59 this.labelUserStatus
.Size
= new System
.Drawing
.Size(35, 13);
60 this.labelUserStatus
.TabIndex
= 2;
61 this.labelUserStatus
.Text
= "label1";
65 this.AutoScaleDimensions
= new System
.Drawing
.SizeF(6F
, 13F
);
66 this.AutoScaleMode
= System
.Windows
.Forms
.AutoScaleMode
.Font
;
67 this.ClientSize
= new System
.Drawing
.Size(284, 262);
68 this.Controls
.Add(this.labelUserStatus
);
69 this.Controls
.Add(this.buttonLogoff
);
70 this.Controls
.Add(this.labelWelcomeMsg
);
71 this.Name
= "MainForm";
72 this.Text
= "MainForm";
73 this.ResumeLayout(false);
80 private System
.Windows
.Forms
.Label labelWelcomeMsg
;
81 private System
.Windows
.Forms
.Button buttonLogoff
;
82 private System
.Windows
.Forms
.Label labelUserStatus
;